package com.zmn.plat.dubbo.interfaces.channel.workorder.video;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.plat.common.dto.channel.workorder.video.ChannelWorkOrderVideoDIO;
import com.zmn.plat.common.dto.channel.workorder.video.ChannelWorkOrderVideoDRO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 类描述：渠道-工单视频
 *
 * @author yangshuangping
 * @since 2021/06/09 14:00
 */
@Api(value = "工单视频服务", tags = {"工单视频"})
public interface ChannelWorkOrderVideoListRemoteService {

    /**
     * 描述: 根据条件查询工单照片
     *
     * @param videoDIO 查询入参
     * @return ChannelWorkOrderVideoDRO 出参实体
     * @auther: yangshuangping
     * @since: 2021/06/09 14:00
     */
    @ApiOperation(value = "根据条件查询工单视频", response = ResponseDTO.class, notes = "", tags = {"工单视频"})
    ResponseDTO<List<ChannelWorkOrderVideoDRO>> listByQuery(@NotNull(message = "入参不能为空") @Valid @ApiParam(value = "查询条件", required = true) ChannelWorkOrderVideoDIO videoDIO);
}
